package com.airnews.ticket.model;

import java.util.Hashtable;

import org.ksoap2.serialization.KvmSerializable;
import org.ksoap2.serialization.PropertyInfo;

public class ItineraryOrderInfo   implements KvmSerializable{
	public String OrderNO		           ;//总订单号                 
	public String FlightOrderNO              ;//机票订单号            
	public String OfficeID                   ;//经销商ID              
	public String UserID                     ;//用户ID                
	public String ItineraryOrderNO           ;//行程单订单号          
	public String ItineraryNO                ;//行程单号（行程单自带）
	public String ItineraryConsigneeAddress  ;//收件地址              
	public String ItineraryConsigneeName     ;//收件人姓名            
	public String ItineraryConsigneePhone    ;//收件人联系电话            
	public String ItineraryConsigneeZIP      ;//收件邮编                  
	public String ItineraryPostCost          ;//收件费用                  
	public String PassengerName	           ;//乘客姓名                  客
	public String PassengerIDType	           ;//乘客证件类型	约定值       客
	public String PassengerIDNO              ;//乘客证件号码              
	public String AirLine                    ;//航空公司代码              
	public String FlightNo                   ;//航班号                    
	public String Departure                  ;//出发地代码                
	public String Arrival                    ;//到达地代码                
	public String Carrier                    ;//承运人                    
	public String FareBasis                  ;//客票级别/客票类别         
	public String Cabin                      ;//舱位代码                  
	public String CabinPrice                 ;//票面价格（B2C）           
	public String FuelTax                    ;//燃油附加费                
	public String AirportTax                 ;//机场建设费                
	public String OtherTax                   ;//其他税费                  
	public String Insurance                  ;//保险费                    
	public String VisaRemark                 ;//签注                      
	public String PNR			   ;//PNR号                     R号
	public String TicketNO                   ;//机票号                    
	public String Date                       ;//日期                      
	public String Times                      ;//时间                      
	public String Allow	                   ;//免费行李                  费
	public String NotValidBefore             ;//客票生效日期              
	public String NotValidAfter              ;//客票有效截至日期          
	public String TotalAmount                ;//合计                      
	public String CK                         ;//验证码                    
	public String Information                ;//提示信息                  
	public String AgentCode                  ;//销售单位代号              
	public String IssuedBy                   ;//填开单位                  
	public String DateOfIssue                ;//填开时间                  
	public String ItineraryOutType           ;//取要行程单的方式          
	public String ItineraryState             ;//订单状态                  
	public String ItinerarySysop             ;//系统操作员                
	public String ItineraryModifyTime        ;//修改时间                  
	public String ItineraryCreateTime        ;///创建时间                  
	public String ItineraryRemark            ;///备注                      


	public Object getProperty(int arg0) {
		switch (arg0) {
		case 0:
			return OrderNO;
		case 1:
			return FlightOrderNO;
		case 2:
			return OfficeID;
		case 3:
			return UserID;
		case 4:
			return ItineraryOrderNO;
		case 5:
			return ItineraryNO;
		case 6:
			return ItineraryConsigneeAddress;
		case 7:
			return ItineraryConsigneeName;
		case 8:
			return ItineraryConsigneePhone;
		case 9:
			return ItineraryConsigneeZIP;
		case 10:
			return ItineraryPostCost;
		case 11:
			return PassengerName;
		case 12:
			return PassengerIDType;
		case 13:
			return PassengerIDNO;
		case 14:
			return AirLine;
		case 15:
			return FlightNo;
		case 16:
			return Departure;
		case 17:
			return Arrival;
		case 18:
			return Carrier;
		case 19:
			return FareBasis;
		case 20:
			return Cabin;
		case 21:
			return CabinPrice;
		case 22:
			return FuelTax;
		case 23:
			return AirportTax;
		case 24:
			return OtherTax;
		case 25:
			return Insurance;
		case 26:
			return VisaRemark;
		case 27:
			return PNR;
		case 28:
			return TicketNO;
		case 29:
			return Date;
		case 30:
			return Times;
		case 31:
			return Allow;
		case 32:
			return NotValidBefore;
		case 33:
			return NotValidAfter;
		case 34:
			return TotalAmount;
		case 35:
			return CK;
		case 36:
			return Information;
		case 37:
			return AgentCode;
		case 38:
			return IssuedBy;
		case 39:
			return DateOfIssue;
		case 40:
			return ItineraryOutType;
		case 41:
			return ItineraryState;
		case 42:
			return ItinerarySysop;
		case 43:
			return ItineraryModifyTime;
		case 44:
			return ItineraryCreateTime;
		case 45:
			return ItineraryRemark;
		}
		return null;
	}

	public int getPropertyCount() {
		return 46;
	}

	public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
		switch (arg0) {
		case 0:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "OrderNO";
			break;
		case 1:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "FlightOrderNO";
			break;
		case 2:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "OfficeID";
			break;
		case 3:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "UserID";
			break;
		case 4:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryOrderNO";
			break;
		case 5:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryNO";
			break;
		case 6:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryConsigneeAddress";
			break;
		case 7:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryConsigneeName";
			break;
		case 8:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryConsigneePhone";
			break;
		case 9:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryConsigneeZIP";
			break;
		case 10:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryPostCost";
			break;
		case 11:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "PassengerName";
			break;
		case 12:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "PassengerIDType";
			break;
		case 13:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "PassengerIDNO";
			break;
		case 14:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "AirLine";
			break;
		case 15:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "FlightNo";
			break;
		case 16:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Departure";
			break;
		case 17:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Arrival";
			break;
		case 18:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Carrier";
			break;
		case 19:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "FareBasis";
			break;
		case 20:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Cabin";
			break;
		case 21:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "CabinPrice";
			break;
		case 22:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "FuelTax";
			break;
		case 23:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "AirportTax";
			break;
		case 24:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "OtherTax";
			break;
		case 25:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Insurance";
			break;
		case 26:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "VisaRemark";
			break;
		case 27:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "PNR";
			break;
		case 28:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "TicketNO";
			break;
		case 29:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Date";
			break;
		case 30:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Times";
			break;
		case 31:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Allow";
			break;
		case 32:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "NotValidBefore";
			break;
		case 33:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "NotValidAfter";
			break;
		case 34:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "TotalAmount";
			break;
		case 35:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "CK";
			break;
		case 36:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "Information";
			break;
		case 37:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "AgentCode";
			break;
		case 38:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "IssuedBy";
			break;
		case 39:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "DateOfIssue";
			break;
		case 40:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryOutType";
			break;
		case 41:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryState";
			break;
		case 42:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItinerarySysop";
			break;
		case 43:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryModifyTime";
			break;
		case 44:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryCreateTime";
			break;
		case 45:
			arg2.type = PropertyInfo.STRING_CLASS;
			arg2.name = "ItineraryRemark";
			break;
		}
	}

	public void setProperty(int arg0, Object arg1) {
		switch (arg0) {
		case 0:
			OrderNO = arg1.toString();
			break;
		case 1:
			FlightOrderNO = arg1.toString();
			break;
		case 2:
			OfficeID = arg1.toString();
			break;
		case 3:
			UserID = arg1.toString();
			break;
		case 4:
			ItineraryOrderNO = arg1.toString();
			break;
		case 5:
			ItineraryNO = arg1.toString();
			break;
		case 6:
			ItineraryConsigneeAddress = arg1.toString();
			break;
		case 7:
			ItineraryConsigneeName = arg1.toString();
			break;
		case 8:
			ItineraryConsigneePhone = arg1.toString();
			break;
		case 9:
			ItineraryConsigneeZIP = arg1.toString();
			break;
		case 10:
			ItineraryPostCost = arg1.toString();
			break;
		case 11:
			PassengerName = arg1.toString();
			break;
		case 12:
			PassengerIDType = arg1.toString();
			break;
		case 13:
			PassengerIDNO = arg1.toString();
			break;
		case 14:
			AirLine = arg1.toString();
			break;
		case 15:
			FlightNo = arg1.toString();
			break;
		case 16:
			Departure = arg1.toString();
			break;
		case 17:
			Arrival = arg1.toString();
			break;
		case 18:
			Carrier = arg1.toString();
			break;
		case 19:
			FareBasis = arg1.toString();
			break;
		case 20:
			Cabin = arg1.toString();
			break;
		case 21:
			CabinPrice = arg1.toString();
			break;
		case 22:
			FuelTax  = arg1.toString();
			break;
		case 23:
			AirportTax = arg1.toString();
			break;
		case 24:
			OtherTax = arg1.toString();
			break;
		case 25:
			Insurance = arg1.toString();
			break;
		case 26:
			VisaRemark = arg1.toString();
			break;
		case 27:
			PNR = arg1.toString();
			break;
		case 28:
			TicketNO = arg1.toString();
			break;
		case 29:
			Date = arg1.toString();
			break;
		case 30:
			Times = arg1.toString();
			break;
		case 31:
			Allow = arg1.toString();
			break;
		case 32:
			NotValidBefore = arg1.toString();
			break;
		case 33:
			NotValidAfter   = arg1.toString();
			break;
		case 34:
			TotalAmount = arg1.toString();
			break;
		case 35:
			CK = arg1.toString();
			break;
		case 36:
			Information  = arg1.toString();
			break;
		case 37:
			AgentCode = arg1.toString();
			break;
		case 38:
			IssuedBy  = arg1.toString();
			break;
		case 39:
			DateOfIssue = arg1.toString();
			break;
		case 40:
			ItineraryOutType = arg1.toString();
			break;
		case 41:
			ItineraryState = arg1.toString();
			break;
		case 42:
			ItinerarySysop = arg1.toString();
			break;
		case 43:
			ItineraryModifyTime  = arg1.toString();
			break;
		case 44:
			ItineraryCreateTime = arg1.toString();
			break;
		case 45:
			ItineraryRemark = arg1.toString();
			break;
		}
		
	}

}
